
package com.lottery.dao;

import java.util.List;

import com.lottery.dao.Dao;
import com.lottery.model.Lottery649;

public interface Lottery649Dao extends Dao {

    /**
     * Retrieves all of the lottery649s
     */
    public List getLottery649s(Lottery649 lottery649);

    /**
     * Gets lottery649's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the lottery649's id
     * @return lottery649 populated lottery649 object
     */
    public Lottery649 getLottery649(final Long id);

    /**
     * Saves a lottery649's information
     * @param lottery649 the object to be saved
     */    
    public void saveLottery649(Lottery649 lottery649);

    /**
     * Removes a lottery649 from the database by id
     * @param id the lottery649's id
     */
    public void removeLottery649(final Long id);
}

